package com.demo.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

import javax.annotation.PostConstruct;
import javax.annotation.PreDestroy;
import java.io.Serializable;

/**
 * @author 李天航
 * 用户信息
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class User implements Serializable {
    private String userAccount;
    private String userPwd;
    private String userSex;
    private String userBirthday;
    private String userCity;
    private String userSno;
    private String userSnoPwd;

    public User(String account, String pwd) {
        this.userAccount=account;
        this.userPwd=pwd;
    }
}
